package cn.springcloudtest.fallback;

import cn.springcloudtest.client.TopicClient;
import cn.springcloudtest.pojo.Topic;
import cn.springcloudtest.utils.Page;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @ProjectName:springcloud-common-api
 * @Author:赵伟杰
 * @Date:2021年09月05日 10:55
 */
@Component
public class TopicClientFallback implements TopicClient {
    @Override
    public Topic getTopicById(Integer id) throws Exception {
        return null;
    }

    @Override
    public List<Topic> getTopicListByMap(Map<String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Integer getTopicCountByMap(Map<String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Integer addTopic(Topic topic) throws Exception {
        return null;
    }

    @Override
    public Integer modifyTopic(Topic topic) throws Exception {
        return null;
    }

    @Override
    public Integer deleteTopicById(Integer id) throws Exception {
        return null;
    }

    @Override
    public Page<Topic> queryTopicPageByMap(Map<String, Object> param) throws Exception {
        return null;
    }
}
